import request from "../utils/request.js"

export function wxLogin(data) {
	return request({
		url: "/login/wx-login",
		method: 'post',
		data
	})
}

export function getOpenid(data) {
	return request({
		url: "/login/wx-getOpenid",
		method: 'post',
		data
	})
}
export function loginByAccountAndPassword(data) {
	return request({
		url: "/login/wx-loginByAccountAndPassword",
		method: 'post',
		data
	})
}